package com.hntest.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

public class RechargeOffline extends BaseAuditDomain implements Serializable {
    private static final long serialVersionUID = -2488145561072762729L;
    private Integer rechargeOfflineId;
    private CompanyBankInfo bankInfo;//平台账号
    private String tradeCode;//交易号
    private Date tradeTime;//交易时间
    private Integer amount;//交易金额
    private String note;//备注

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    public void setTradeTime(Date tradeTime){
        this.tradeTime = tradeTime;
    }

    public Integer getRechargeOfflineId() {
        return rechargeOfflineId;
    }

    public void setRechargeOfflineId(Integer rechargeOfflineId) {
        this.rechargeOfflineId = rechargeOfflineId;
    }

    public CompanyBankInfo getBankInfo() {
        return bankInfo;
    }

    public void setBankInfo(CompanyBankInfo bankInfo) {
        this.bankInfo = bankInfo;
    }

    public String getTradeCode() {
        return tradeCode;
    }

    public void setTradeCode(String tradeCode) {
        this.tradeCode = tradeCode;
    }

    public Date getTradeTime() {
        return tradeTime;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }
}
